#ifndef CONFIG_H
#define CONFIG_H
#include <QString>

enum _cmd{REGISTER,LOGIN,PERSONAL,GROUP,ADD_FRIEND,SEARCH,CHAT_MESSAGE,CHAT_RECV};
enum _login{REGISTER_SUCCESS,
            LOGIN_SUCCESS,
            LOGIN_ALREADY_DO,
            LOGIN_USER_NONEXISTENCE,
            REGISTER_USER_EXIST,
            FRIEND};
const QString HOSTNAME = "192.168.1.121";
const quint16 HOSTPORT = 8000;
#define SMTPCODE "hxxtsnmnljocdjec"
#endif // CONFIG_H
